package testCasalib 
{
	import flash.display.Sprite;
	import flash.text.TextField;
	import org.casalib.collection.List;
	import org.casalib.collection.UniqueList;
	import org.casalib.display.CasaSprite;
	/**
	 * ...
	 * @author Harry
	 */
	public class testList extends Sprite
	{
		
		public function testList() 
		{
			var __cs:CasaSprite;
			__cs = new CasaSprite();
			__cs.graphics.beginFill(0x000000);
			__cs.graphics.drawRect(0, 0, 20, 20);
			__cs.graphics.endFill();
			addChild(__cs);
			
			var __list:UniqueList = new UniqueList;
			//var __list:List = new List;
			trace(this, __list.size);
			__list.addItem(__cs);
			__list.addItem(__cs);
			trace(this, __list.size);
			
			
			
			
		}
		
	}

}